﻿using Refit;


namespace ZhaoXi.MSACommerce.AuthService.Service
{
    public record UserDto (long Id,string Username,string? Phone);
    public interface IUserService
    {
        //直接访问API   Refit
        [Get("/api/user")]
        Task<ApiResponse<UserDto>> GetUserAsync(string username, string password);
    }
}
